package com.cdtu.store.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdtu.store.common.entity.CategoryBrandEntity;
import com.cdtu.store.common.utils.PageUtils;

import java.util.Map;

/**
 * 商品分类和品牌的中间表，两者是多对多关系
 *
 * @author dongyuhao
 * @date 2020-06-22 23:46:27
 */
public interface CategoryBrandService extends IService<CategoryBrandEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(CategoryBrandEntity categoryBrand);

    void removeCategoryBrand(CategoryBrandEntity categoryBrand);

    void updateBrand(Long BrandId, String name);


    void updateCategory(Long categoryId, String name);
}
